package com.crm.model.mdao;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 时间线mybatisDAO
 * @author Menghui
 *
 */
@Mapper
public interface TimelineMapper {

	/**
	 * 查询单个时间线信息
	 * @return
	 */
	List<Map<String, String>> selectOneTimeline(@Param("custid") Integer custid);
	
	//查询客户的订单
	BigDecimal selectOrder(@Param("custid") Integer custid);
	
	//查询客户的退货
	BigDecimal selectOut(@Param("custid") Integer custid);
	
	//查询客户的发货
	BigDecimal selectRe(@Param("custid") Integer custid);
	
	//查询客户的计划回款
	BigDecimal selectReturnPlan(@Param("custid") Integer custid);
	
	//查询客户的实际回款
	BigDecimal selectReturnInt(@Param("custid") Integer custid);
}
